/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package spartpartsmanager;

/**
 *
 * @author Ngocvan
 */
abstract class SPart {
    protected String code;
    protected int tier;//bien giup viec hien thi

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public SPart(String code) {
        this.code = code;
    }
    
    public abstract int getPrice();
}
